<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Untitled Document</title>
<style type="text/css">
#apDiv1 {
	position:absolute;
	left:12px;
	top:274px;
	width:594px;
	height:555px;
	z-index:1;
}
</style>
</head>

<body>

<div id="apDiv1">

<table><tr bgcolor="#E6967B"  >
<th>Ajouter</th>
<th>NOM</th>
<th>Prenom</th>
<th>Grade</th>
<th>Matricule</th>
<th>Email</th>
</tr>
<?php

$reponse = $bdd->query("SELECT * FROM enseignant WHERE ststut ='encadreur' ORDER BY id_etud DESC");
	//$reponse->execute();
$bool = false;
while ($donnees = $reponse->fetch())
 {

?>
<?php if ($bool== true){ $bool = false;?>
<tr bgcolor="#E9CEC5">
<?php }else{ $bool = true;?>
<tr>
<?php }?>
<td><?php echo '<a href="gestion_des_utilisateur/mcv.php?modifier_ens='.$donnees['id_ens'].'">'; ?>Modifier</a></td>
<td><?php echo '<a href="accueil.php?supprimer_etud=' . $donnees['id_etud'] . '">'; ?>Supprimer</a></td>
<td><?php echo stripslashes($donnees['nom_etud']); ?></td>
<td><?php echo stripslashes($donnees['prenom_etud']); ?></td>
<td><?php echo stripslashes($donnees['niveau']); ?></td>
<td><?php echo stripslashes($donnees['mat_etud']); ?></td>
</tr>
<?php
}
	 // Fin de la boucle qui liste les news.
?>

</div>
</body>
</html>